<%@ page import="com.scalar.chiptrack.users.User,
                com.scalar.chiptrack.users.UserGroup,
                com.scalar.chiptrack.commons.SessionKeys,
                com.scalar.chiptrack.utils.ConfigManager"%>

<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<chiptrack:checkLogon sourcePage="/jsp/finance/finance.jsp"/>
<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<HTML>
<HEAD>
<TITLE>Scalarsoft - ChipTrac</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>
</HEAD>
<BODY>
<table width="90%" align='center'>
<tr><td colspan="3" >&nbsp;</td></tr>
<tr><td colspan="3" align="right"><a href="javascript:window.close()">close window</a></td></tr>
<tr><td colspan="3" align="center"><font class="NArialW">Purchase Orders</font></td></tr>
<tr><td colspan=5><chiptrack:errors styleClass="NArialL"/></td></tr>
<tr><td colspan=5><chiptrack:info styleClass="NArialL"/></td></tr>
<logic:iterate id="purchaseOrder" name="purchaseOrderList" length="1">
<tr align="center">
	<td bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">PO Number</font></font></td>
	<td bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">PO Date</font></font></td>
	<td bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">$ Amount</font></font></td>
</tr>
</logic:iterate>
<logic:iterate id="purchaseOrder" name="purchaseOrderList" indexId="iteratorIdx" type="com.scalar.chiptrack.finance.openpo.PurchaseOrder">
	<tr <%if(iteratorIdx.intValue()%2==0){%> bgcolor='#DEE1E2' <% } else {%> bgcolor='#FFFFEE' <%}%> >
		<td align="center" nowrap width="20%" class='NArialL'>
			<bean:write name="purchaseOrder" property="purchaseOrderNumber"/>
		</td>
		<td align="center" nowrap width="15%" class='NArialL'><bean:write name="purchaseOrder" property="purchaseOrderDate"/></td>
		<td align="center" nowrap width="15%" class='NArialL'><bean:write name="purchaseOrder" property="poMaxAmt"/></td>
	</tr>
</logic:iterate>
<logic:iterate id="purchaseOrder" name="purchaseOrderList" length="1">
<tr><td colspan="3" >&nbsp;</td></tr>
<tr><td colspan="3"  align="center"><a href="javascript:window.close()">close window</a></td></tr>
<tr><td colspan="3" >&nbsp;</td></tr>
</logic:iterate>
</table>
</BODY>
</HTML>
